<?php

class login extends Controller{

	function __construct(){
		parent::__construct();
	}

	function index() {
		$this->view->render('page/login');
	}

	function run(){

		$this->model->run();
	}
	function logout(){
		Session::init();
		Session::destroy();
		header('location: ../');
		exit;
	}
}
?>